//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03A
TN_Widget.CreateTable([['Violent Femmes','Kresge Auditorium at Interlochen Center for the Arts','Interlochen, MI','Thursday','6/20/2024','7:30 PM','6365092','Violent-Femmes-6-20-2024'],['Jason Isbell & The 400 Unit','Kresge Auditorium at Interlochen Center for the Arts','Interlochen, MI','Friday','6/21/2024','7:30 PM','6283892','Jason-Isbell---The-400-Unit-6-21-2024'],['KC and The Sunshine Band','Kresge Auditorium at Interlochen Center for the Arts','Interlochen, MI','Thursday','6/27/2024','7:30 PM','6310452','KC-and-The-Sunshine-Band-6-27-2024'],['Lake Street Dive','Kresge Auditorium at Interlochen Center for the Arts','Interlochen, MI','Wednesday','7/10/2024','7:30 PM','6243747','Lake-Street-Dive-7-10-2024'],['Old Crow Medicine Show','Kresge Auditorium at Interlochen Center for the Arts','Interlochen, MI','Thursday','7/11/2024','7:30 PM','6304452','Old-Crow-Medicine-Show-7-11-2024'],['Norah Jones','Kresge Auditorium at Interlochen Center for the Arts','Interlochen, MI','Saturday','7/13/2024','7:30 PM','6291019','Norah-Jones-7-13-2024'],['Andrew Bird & Nickel Creek','Kresge Auditorium at Interlochen Center for the Arts','Interlochen, MI','Monday','7/15/2024','7:00 PM','6298578','Andrew-Bird---Nickel-Creek-7-15-2024'],['Jason Mraz','Kresge Auditorium at Interlochen Center for the Arts','Interlochen, MI','Tuesday','7/16/2024','7:30 PM','6283890','Jason-Mraz-7-16-2024'],['Detroit Symphony Orchestra','Kresge Auditorium at Interlochen Center for the Arts','Interlochen, MI','Saturday','7/20/2024','7:30 PM','6313482','Detroit-Symphony-Orchestra-7-20-2024'],['Slash, Keb Mo, ZZ Ward & Jackie Venson','Kresge Auditorium at Interlochen Center for the Arts','Interlochen, MI','Wednesday','7/24/2024','7:00 PM','6318327','Slash--Keb-Mo--ZZ-Ward---Jackie-Venson-7-24-2024'],['311, Awolnation & Neon Trees','Kresge Auditorium at Interlochen Center for the Arts','Interlochen, MI','Friday','7/26/2024','7:00 PM','6319718','311--Awolnation---Neon-Trees-7-26-2024'],['Melissa Etheridge & Jewel','Kresge Auditorium at Interlochen Center for the Arts','Interlochen, MI','Monday','8/5/2024','7:30 PM','6297472','Melissa-Etheridge---Jewel-8-5-2024'],['Rumours of Fleetwood Mac','Kresge Auditorium at Interlochen Center for the Arts','Interlochen, MI','Tuesday','8/6/2024','7:30 PM','6408510','Rumours-of-Fleetwood-Mac-8-6-2024']],'Kresge Auditorium (Interlochen)','http://www.ticketnetwork.com/ticket/Kresge-Auditorium-(Interlochen)-events.aspx');